package com.burgeon.backend.SHOPBACKEND.service;

import com.burgeon.backend.SHOPBACKEND.entity.couponGift.CouponGiftBean;
import com.burgeon.backend.SHOPBACKEND.entity.couponGift.CouponGiftItem;
import com.burgeon.backend.SHOPBACKEND.service.ex.ErrorDataException;

import java.util.List;

/**
 * 套券
 */
public interface BackendCouponGiftService {

    void createCoupon(String id,String phone,String account)throws ErrorDataException;

    void delCouponGiftItem(String id);

    void addCouponGift(String name, String account);

    void addCouponGiftItem(String cid, String[] tid);

    List<CouponGiftBean> getList(String account);

    List<CouponGiftItem> getItmeList(String id);

    void upItemCount(String id, int count);

    void upContent(String cid, String name, Integer integral, String startDate, String endDate, String show);

    CouponGiftBean showContent(String cid);
}
